package cn.bugio.springcloud.repository;

import cn.bugio.springcloud.entity.Student;

import java.util.Collection;

public interface StudentRepository {
    Collection<Student> findAll();
    Student findById(long id);
    void saveOrUpate(Student student);
    void deleteById(long id);
}
